Optimal. Leaf size=28 \[ \frac {x^n}{c n}-\frac {b \log \left (b+c x^n\right )}{c^2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {1598, 272, 45}
\begin {gather*} \frac {x^n}{c n}-\frac {b \log \left (b+c x^n\right )}{c^2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rule 1598
Rubi steps
\begin {align*} \int \frac {x^{-1+3 n}}{b x^n+c x^{2 n}} \, dx &=\int \frac {x^{-1+2 n}}{b+c x^n} \, dx\\ &=\frac {\text {Subst}\left (\int \frac {x}{b+c x} \, dx,x,x^n\right )}{n}\\ &=\frac {\text {Subst}\left (\int \left (\frac {1}{c}-\frac {b}{c (b+c x)}\right ) \, dx,x,x^n\right )}{n}\\ &=\frac {x^n}{c n}-\frac {b \log \left (b+c x^n\right )}{c^2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 27, normalized size = 0.96 \begin {gather*} \frac {c x^n-b \log \left (c n \left (b+c x^n\right )\right )}{c^2 n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 31, normalized size = 1.11
method | result | size |
risch | \(\frac {x^{n}}{c n}-\frac {b \ln \left (x^{n}+\frac {b}{c}\right )}{c^{2} n}\) | \(31\) |
norman | \(\frac {{\mathrm e}^{n \ln \left (x \right )}}{c n}-\frac {b \ln \left (c \,{\mathrm e}^{n \ln \left (x \right )}+b \right )}{c^{2} n}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 32, normalized size = 1.14 \begin {gather*} \frac {x^{n}}{c n} - \frac {b \log \left (\frac {c x^{n} + b}{c}\right )}{c^{2} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.45, size = 24, normalized size = 0.86 \begin {gather*} \frac {c x^{n} - b \log \left (c x^{n} + b\right )}{c^{2} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 6.82, size = 26, normalized size = 0.93 \begin {gather*} - \frac {b \left (\begin {cases} \frac {x^{n}}{b} & \text {for}\: c = 0 \\\frac {\log {\left (b + c x^{n} \right )}}{c} & \text {otherwise} \end {cases}\right )}{c n} + \frac {x^{n}}{c n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {x^{3\,n-1}}{b\,x^n+c\,x^{2\,n}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________